package so.sao.shop.supplier.domain;

/**
 * Created by acer on 2017/7/22.
 */
public class SysRegion {
    /**
     * 区划id
     */
    private Integer srId;
    /**
     * 区划名称
     */
    private String name;
    /**
     * 区划级别
     */
    private Integer level;

    /**
     * 邮政编码
     */
    private String code;

    /**
     * 电话区号
     */
    private String telCode;

    public Integer getSrId() {
        return srId;
    }

    public void setSrId(Integer srId) {
        this.srId = srId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? "000000" : code.trim();
    }

    public String getTelCode() {
        return telCode;
    }

    public void setTelCode(String telCode) {
        this.code = code == null ? null : code.trim();
    }
}
